package com.ruoyi.car.business.service;


import com.ruoyi.car.business.domain.BpmnInfo;
import com.ruoyi.car.business.query.BpmnInfoQuery;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.io.InputStream;
import java.util.List;

public interface IBpmnInfoService {
    List query(BpmnInfoQuery qo);

    String upload(MultipartFile file) throws IOException;

    void deploy(String path, String bpmnType, String info) throws IOException;

    InputStream getFileInputStream(String deploymentId, String type);

    void delete(Long id);

    BpmnInfo getByBpmnType(String bpmnType);

    BpmnInfo get(Long bpmnInfoId);
}
